package com.hzit.sb2.mapper;

import com.hzit.sb2.bean.User;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface UserMapper {

    @Select("SELECT `name`,pwd FROM user WHERE name=#{name} AND pwd=#{pwd}")
    User selectByName(@Param("name")String name, @Param("pwd")String pwd);

}
